/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package constants;

public class JobConstants {

    public static final boolean enableJobs = true;
    public static final int jobOrder = 0;//v148 - Grand Athenaeum

    public enum LoginJob {
        反抗者(0, JobFlag.启用),
        冒险家(1, JobFlag.启用),
        骑士团(2, JobFlag.启用),
        战神(3, JobFlag.启用),
        龙神(4, JobFlag.启用),
        双弩精灵(5, JobFlag.启用),
        恶魔(6, JobFlag.启用),
        幻影(7, JobFlag.启用),
        暗影双刀(8, JobFlag.启用),
        米哈尔(9, JobFlag.启用),
        夜光法师(10, JobFlag.启用),
        狂龙战士(11, JobFlag.启用),
        爆莉萌天使(12, JobFlag.启用),
        火炮手(13, JobFlag.启用),
        尖兵(14, JobFlag.启用),
        神之子(15, JobFlag.启用),
        隐月(16, JobFlag.启用),
        林之灵(17, JobFlag.启用),
        龙的传人(18, JobFlag.启用);
        
        private final int jobType, flag;

        private LoginJob(int jobType, JobFlag flag) {
            this.jobType = jobType;
            this.flag = flag.getFlag();
        }

        public int getJobType() {
            return jobType;
        }

        public int getFlag() {
            return flag;
        }

        public enum JobFlag {

            禁用(0),
            启用(1);
            private final int flag;

            private JobFlag(int flag) {
                this.flag = flag;
            }

            public int getFlag() {
                return flag;
            }
        }
    }
}
